Yoast\WP\SEO\Helpers\Current_Page_Helper B

Total Complexity 88
Dependencies 2
Dependents 25
Total lines 548
Lines of code 238
Logical lines of code 139
Comment lines 228
Methods 33
Properties 1

Methods 33

Method Rating Maintainability Complexity Lines of code
get_page_type()
A
52 11 25
get_current_taxonomy()
S
58 8 15
get_current_post_type()
S
60 6 13
get_term_id()
S
63 6 10
get_non_cached_date_archive_permalink()
S
59 4 14
get_current_post_id()
S
69 4 6
get_simple_page_id()
S
66 3 9
is_home_posts_page()
S
64 3 10
is_home_static_page()
S
64 3 10
is_static_posts_page()
S
65 3 9
is_term_archive()
S
75 3 4
is_yoast_seo_page()
S
67 3 7
get_current_yoast_seo_page()
S
69 3 6
count_queried_terms()
S
64 3 9
get_front_page_id()
S
70 2 6
get_queried_post_type()
S
67 2 8
get_date_archive_permalink()
S
68 2 8
is_posts_page()
S
68 2 7
is_multiple_terms_page()
S
71 2 6
current_post_is_privacy_policy()
S
68 2 7
__construct()
S
81 1 3
is_simple_page()
S
80 1 3
get_author_id()
S
76 1 4
is_post_type_archive()
S
76 1 4
is_attachment()
S
76 1 4
is_author_archive()
S
76 1 4
is_date_archive()
S
76 1 4
is_search_result()
S
76 1 4
is_404()
S
76 1 4
is_post_format_archive()
S
76 1 4
is_paged()
S
80 1 3
is_front_page()
S
76 1 4
get_current_admin_page()
S
78 1 4